export const dataMaper = Object.freeze({
	factorySum: {
		title: '工厂数量',
		unit: '个',
		type: 'factory'
	},
	workshopSum: {
		title: '车间数量',
		unit: '个',
		type: 'workshop'
	},
	productSum: {
		title: '产线数量',
		unit: '个',
		type: 'product'
	},
	unitSum: {
		title: '机组数量',
		unit: '个',
		type: 'unit'
	},
	
	
	jizuNum: {
		title: '机组数量',
		unit: '组',
		type: 'jizu'
	},
	jdlNum: {
		title: '设备稼动率',
		unit: '%',
		type: 'bili'
	},
	totalNum: {
		title: '累计产能',
		unit: 'T',
		type: 'nengliang'
	},
	monthNum: {
		title: '当月产能',
		unit: 'T',
		type: 'month'
	},
	todayNum: {
		title: '当日产能',
		unit: 'T',
		type: 'today'
	},
	
	
	water: {
		title: '当日用水量',
		unit: 'T',
		type: 'today'
	},
	electric: {
		title: '当日电能耗',
		unit: 'T',
		type: 'today'
	},
	material: {
		title: '当日原材料',
		unit: 'T',
		type: 'today'
	},
	time: {
		title: '累计工作时间',
		unit: 'T',
		type: 'today'
	},
	electricTotal: {
		title: '当日累计耗电',
		unit: 'W',
		type: 'today'
	},
	speed: {
		title: '当日生产速度',
		unit: 'T',
		type: 'today'
	},
	moshu: {
		title: '当日产能-模数',
		unit: 'T',
		type: 'today'
	},
	dunshu: {
		title: '当日产能-吨',
		unit: 'T',
		type: 'today'
	}
})

export const factoryMsgMaper = Object.freeze({
	title: '工厂名称',
	address: '工厂地址', 
	createTime: '建厂时间'
})

export const deviceMaper = Object.freeze({
	v1: {
		title: '数据1',
		unit: 'W'
	},
	v2: {
		title: '数据2',
		unit: 'C'
	},
	v3: {
		title: '数据3',
		unit: 'L'
	},
	v4: {
		title: '数据4',
		unit: 'T'
	},
})